import request from '../../utils/request';
import Constants from '../../utils/Constants';

/**
 * 查询客户资金池
 *
 * @param lesseeCode
 * @param lesseeName
 * @param status
 * @param page
 * @returns {Promise.<Object>}
 */
export async function getCstAmtListForPage({ cstName, cstNo, beginBalance, endBalance, page}) {
    return request(apiPath.imagent + "/api/customer/amts", {
        method: 'get',
        data: { cstName, cstNo, beginBalance, endBalance, page: page.page, size: page.size }
    });
}